package com.netrust.quarz.dao;


import java.util.Date;
import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import com.netrust.quarz.entity.Original;
import com.netrust.quarz.entity.Server;


public interface OriginalDao extends JpaRepository<Original, Integer>,JpaSpecificationExecutor<Original>{

	public List<Original> findByNameLike(String name);

	public List<Original> findByNameLikeAndTimeBetween(String name, Date startDate, Date endDate);

}
